<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8">
<meta http-equiv="Content-Language" content="fr_FR">
<title>{$name}┊{$site_name}</title>
<meta name="author" content="Powerless"> 
<meta name="Copyright" content="{$site_seo_title}">
<meta name="keywords" content="{$site_seo_keywords}" />
<meta name="description" content="{$site_seo_description}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">   
<link rel="icon" href="__TMPL__Public/images/favicon.ico" type="image/ico">
<link href="__TMPL__Public/style/base.css" rel="stylesheet" type="text/css">
<link href="__TMPL__Public/style/tourisme.css" rel="stylesheet" type="text/css"/>
        <script type="text/javascript" language="javascript">  
        function nofind(){
        var img=event.srcElement;
        img.src="__TMPL__Public/img/no-img.jpg";
        img.onerror=null; 
        }
        </script>
</head>
<body>
<!--header nav start-->
<div id="navbg">
    <ul> 
 		<li><a href="{:u('list/index',array('id'=>97))}">Diététique</a></li>
		<li><a href="{:u('list/index',array('id'=>98))}">Femmes Manche</a></li>
		<li><a href="{:u('list/index',array('id'=>99))}">TCM</a></li>
		<li><a href="{:u('list/index',array('id'=>100))}">la culture chinoise</a></li>
		<li><a href="{:u('list/index',array('id'=>101))}">Phytothérapie</a></li>
		<li><a href="{:u('list/index',array('id'=>102))}">Anciens docteurs</a></li>
    </ul>
</div>
<!--header nav end-->
<!--content start-->
<div id="contentbg">
	<ul>
		<div><a href="{:u('list/index',array('id'=>97))}"><h2>Diététique</h2></a></div>
		<php>
    $diététique_all=sp_sql_posts('cid:97;field:tid,post_title,smeta;limit:4;order:post_date desc');
    </php>
    <foreach name="diététique_all" item="all">
		<li><a href="{:U('article/index',array('id'=>$all['tid']))}"><h3>{$all.post_title}</h3></a></li>
    </foreach>
	</ul>
	<ul>
		<div><a href="{:u('list/index',array('id'=>98))}"><h2>Femmes Manche</h2></a></div>
		<php>
    $femmes_all=sp_sql_posts('cid:98;field:tid,post_title,smeta;limit:4;order:post_date desc');
    </php>
    <foreach name="femmes_all" item="all">
		<li><a href="{:U('article/index',array('id'=>$all['tid']))}"><h3>{$all.post_title}</h3></a></li>
    </foreach>
	</ul>
	<ul>
		<div><a href="{:u('list/index',array('id'=>99))}"><h2>TCM</h2></a></div>
		<php>
    $tcm_all=sp_sql_posts('cid:51;field:tid,post_title,smeta;limit:4;order:post_date desc');
    </php>
    <foreach name="tcm_all" item="all">
		<li><a href="{:U('article/index',array('id'=>$all['tid']))}"><h3>{$all.post_title}</h3></a></li>
    </foreach>
	</ul>
</div>
<!--content end-->
<!--main start-->
<div id="graphicbg">
	 <div class="leftgpicbg">
	 	<ul>
	 		<div><a href="{:u('list/index',array('id'=>100))}"><h2>Culture</h2></a></div>
		<php>
    $chinoise_all=sp_sql_posts('cid:100;field:tid,post_title,smeta;limit:7;order:post_date desc');
    </php>
    <foreach name="chinoise_all" item="all">
		<li><a href="{:U('article/index',array('id'=>$all['tid']))}">{$all.post_title}</a></li>
    </foreach>
	 	</ul>
	 </div>
	 <div class="middlegpicbg">
	 	<ul>
	 		<div><a href="{:u('list/index',array('id'=>101))}"><h2>Phytothérapie</h2></a></div>
		 	<php>
	    $phytothérapie_all=sp_sql_posts('cid:53;field:tid,post_title,smeta;limit:1;order:post_date desc');
	    </php>
     <foreach name="phytothérapie_all" item="all">
	    <php>
	    $smeta=json_decode($all['smeta'],true);
	    </php>
	 		<span><a href="{:U('article/index',array('id'=>$all['tid']))}">
            <img onerror="nofind();" src="{$site_host}data/upload/{$smeta.thumb}" width="400"height="160"/></a></span>
	 		<li><a href="{:U('article/index',array('id'=>$all['tid']))}">{$all.post_title}</a></li>
    	</foreach>
    
	 	</ul>
	 </div>
	 <div id="rightgpicbg">
	 	<ul>
	 	    <div><a href="{:u('list/index',array('id'=>101))}"><h2>Phytothérapie</h2></a></div>
	 	  <php>
	    $phytothérapie_all=sp_sql_posts('cid:101;field:tid,post_title,smeta;limit:2;order:post_date desc');
	    $a=0;
	    </php>
     <foreach name="phytothérapie_all" item="all">
	    <php>
	    $smeta=json_decode($all['smeta'],true);
	    $a++;
	    if($a < 1){
	    </php>
	 		<span><a href="{:U('article/index',array('id'=>$all['tid']))}">
            <img onerror="nofind();" src="{$site_host}data/upload/{$smeta.thumb}" width="273"height="161"/></a></span>
	 		<li><a href="{:U('article/index',array('id'=>$all['tid']))}">{$all.post_title}</a></li>
			<php> }</php>
	 	</ul>
	 </div>
	 <div id="newspicturebg">
	 			 	<php>
	    $docteurs_all=sp_sql_posts('cid:102;field:tid,post_title,smeta;limit:4;order:post_date desc');
	    </php>
     <foreach name="docteurs_all" item="all">
	    <php>
	    $smeta=json_decode($all['smeta'],true);
	    </php>
		 	<ul>
		 	 	<li><a href="{:U('article/index',array('id'=>$all['tid']))}">
                <img onerror="nofind();" src="{$site_host}data/upload/{$smeta.thumb}" width="225" height="129" /></a></li>
		 	 	<div><a href="{:U('article/index',array('id'=>$all['tid']))}">{$all.post_title}</a></div>
		 	</ul>
    	</foreach>
	 </div>
</div>
<div id="newsbg">
	<div class="sixgpicbg">
			<php>
	    $msfg_all=sp_sql_posts('cid:97,98;field:tid,post_title,post_excerpt,smeta;limit:6;order:post_date desc');
	    </php>
     <foreach name="msfg_all" item="all">
	    <php>
	    $smeta=json_decode($all['smeta'],true);
	    </php>
		 	<ul>
		    <div><a href="{:U('article/index',array('id'=>$all['tid']))}"><h2>{$all.post_title}</h2></a></div>
			<span><a href="{:U('article/index',array('id'=>$all['tid']))}">
            <img onerror="nofind();" src="{$site_host}data/upload/{$smeta.thumb}" width="298" height="134"></a></span>
            <li><a href="{:U('article/index',array('id'=>$all['tid']))}">{$all.post_excerpt}</a></li>
		</ul>
    	</foreach>
	</div>
</div>
<!--main end-->
<!--member start-->
<div id="memberbg">
	
	<div class="memberlistbg">
    <php>
	    $mswh_all=sp_sql_posts('cid:99,101;field:tid,post_title,smeta;limit:16;order:post_date desc');
	    </php>
     <foreach name="mswh_all" item="all">
	    <php>
	    $smeta=json_decode($all['smeta'],true);
	    </php>
        <div class="guoqibg">
	   <ul>
		    <div><a href="{:U('article/index',array('id'=>$all['tid']))}">
            <img onerror="nofind();"src="{$site_host}data/upload/{$smeta.thumb}" width="50" height="50"></a></div>
			<li><a href="{:U('article/index',array('id'=>$all['tid']))}">{$all.post_title}</a></li>
	   </ul>
	    
	  </div>
    	</foreach>
	</div>
</div>
<!--member end-->
<!--tag start-->
<div id="con">
<ul id="tags">
		<php>
	    $mswh_all=sp_sql_posts('cid:100,102;field:tid,post_title,smeta;limit:6;order:post_date desc');
        $a = 0;
	    </php>
    	<foreach name="mswh_all" item="all">
	    <php>
	    $smeta=json_decode($all['smeta'],true);
        $a++;
	    </php>
          <li>
          <a href="{:U('article/index',array('id'=>$all['tid']))}">
          <div class="biaotibg">{$all.post_title}</div>
          <div class="taggpic"><img onerror="nofind();" src="{$site_host}data/upload/{$smeta.thumb}" width="100" height="100"/></div>
          </a>
          </li>
    	</foreach>
</ul>
</div>

<!--tag end-->
<!--footer start-->

  <include file="Public:footer" />
<!--footer end-->
</body>
</html>
